<#if serviceImpl.packageName!="">
package ${serviceImpl.packageName};
</#if>

<#if serviceImpl?exists>
<#list serviceImpl.imports as import>
import ${import};
</#list>
</#if>
public class ${serviceImpl.name?cap_first} implements ${serviceImpl.interfaceName?cap_first}{

<#--- rrr-->
<#list serviceImpl.beans as bean>
public ${bean.type} ${bean.name?uncap_first};

public ${bean.type} get${bean.name?cap_first}() {
	return ${bean.name?uncap_first};
}

public void set${bean.name?cap_first}(${bean.type?cap_first}  ${bean.name?uncap_first}) {
	this.${bean.name?uncap_first} = ${bean.name?uncap_first};
}

<#list bean.methods as newmethod>

public <#if (newmethod.method.returnType)?exists> ${newmethod.method.returnType.shortName} <#else> void </#if> ${newmethod.methodName}(<#list newmethod.method.parameters as params>${params.type.shortName} ${params.name}<#if params_has_next> ,</#if></#list>){
   
   <#if (newmethod.method.returnType)?exists>return </#if>${bean.name?uncap_first}.${newmethod.method.name}(<#list newmethod.method.parameters as params>${params.name}<#if params_has_next> , </#if></#list>);
}
</#list>


</#list>
     
}